<?php
class template_login extends theme
{

	public function __construct()
	{
		$this->north = false;		//顶部
		$this->south = false;		//底部
	}
	
	protected function head()
	{
	?>
<link rel="stylesheet" href="templates/user/css/login.css">
<script type="text/javascript" language="javascript" src="templates/user/js/login.js"></script>
	<?php
	}

	protected function body()
	{
		?>
<div class="body">

	<div class="logo">
		<div class="logo-text">骨头系统后台管理</div>
	</div>

	<?php $this->message(); ?>
	
	<div class="login-box">

		<div class="login-box-tl"><div class="login-box-tr"></div></div>
		
		<div class="login-box-ml">
			<div class="login-box-mr">
				<form id="form-login">
				<ul class="login-form">
				<li><label> 用户名: </label><input class="input" type="text" name="username" id="input-username" /></li>
				<li><label> 密码: </label><input class="input" type="password" name="password" id="input-password"  /></li>
				<li class="btn"><input type="button" id="btn-login" value="登陆" onclick="javascript:login();" /></li>
				</ul>
				</form>
			</div>
		</div>
		
		<div class="login-box-bl"><div class="login-box-br"></div></div>
		
		<div id="login-msg"></div>
	
	</div>

</div>
		<?php
	}		
		

}
?>